import { Layout } from '@fl/utils/routerHelper'

const integral: AppRouteRecordRaw = {
    children: [

        {
            component: () => import('@/pages/integral/point/detail.vue'),
            meta: {
                title: '积分管理',
            },
            name: 'anjutong-point-detail',
            path: 'point-detail',
        },
        {
            component: () => import('@/pages/integral/category/list.vue'),
            meta: {
                title: '品类管理',
            },
            name: 'anjutong-category-list',
            path: 'category-list',
        },
        {
            component: () => import('@/pages/integral/issue-table.vue'),
            meta: {
                title: '积分发放',
            },
            name: 'anjutong-integral-issue',
            path: 'integral-issue',
        },
        {
            component: () => import('@/pages/integral/change-table.vue'),
            meta: {
                title: '积分变更',
            },
            name: 'anjutong-integral-change',
            path: 'integral-change',
        },

    ],
    component: Layout,
    meta: {
        icon: 'i-ph:ticket-bold',
        title: '积分管理',
    },
    name: 'anjutong-integral',
    path: 'integral',
}

export default integral
